// 监听插件安装事件
chrome.runtime.onInstalled.addListener(() => {
  console.log('WebDAV文件管理器插件已安装');
});

// 监听消息
chrome.runtime.onMessage.addListener((message, sender, sendResponse) => {
  if (message.action === 'openOptionsPage') {
    chrome.runtime.openOptionsPage();
  }
  return true;
}); 